﻿using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.RoleCommand
{
    /// <summary>
    /// 通过角色ID查询用户名称
    /// </summary>
    public class GetUserNameRoleidCommand : IRequest<APIResult<List<UserNameDTOs>>>
    {
        /// <summary>
        /// 角色id
        /// </summary>
        public int RoleId { get; set; }
    }
}
